import unittest


class AssertUtil(unittest.TestCase):

    def assertFunc(self, expect, resp, actual):
        self.assertEqual(expect.get('status_code'), resp.status_code)
        self.assertEqual(expect.get('success'), actual.get('success'))
        self.assertEqual(expect.get('code'), actual.get('code'))
        self.assertIn(expect.get('message'), actual.get('message'))
